// Type: System.Windows.Controls.Primitives.ToggleButton
// Assembly: System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
// Assembly location: c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll

using System.ComponentModel;
using System.Windows;
using System.Windows.Automation.Peers;

namespace System.Windows.Controls.Primitives
{
    [TemplateVisualState(Name = "Checked", GroupName = "CheckStates")]
    [TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
    [TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
    [TemplateVisualState(Name = "Pressed", GroupName = "CommonStates")]
    [TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
    [TemplateVisualState(Name = "Unfocused", GroupName = "FocusStates")]
    [TemplateVisualState(Name = "Focused", GroupName = "FocusStates")]
    [TemplateVisualState(Name = "Unchecked", GroupName = "CheckStates")]
    [TemplateVisualState(Name = "Indeterminate", GroupName = "CheckStates")]
    public class ToggleButton : ButtonBase
    {
        public static readonly DependencyProperty IsCheckedProperty;
        public static readonly DependencyProperty IsThreeStateProperty;
        public ToggleButton();

        [TypeConverter(typeof (NullableBoolConverter))]
        public bool? IsChecked { get; set; }

        public bool IsThreeState { get; set; }
        public override void OnApplyTemplate();
        protected internal virtual void OnToggle();
        protected override void OnContentChanged(object oldContent, object newContent);
        protected override void OnClick();
        protected override AutomationPeer OnCreateAutomationPeer();
        public override string ToString();

        public event RoutedEventHandler Checked;
        public event RoutedEventHandler Indeterminate;
        public event RoutedEventHandler Unchecked;
    }
}
